package br.com.winesys.geta.databinding;

import javax.swing.JComponent;

public class Field {

	public static final String LAYOUT = "LAYOUT";
	public static final String LABEL_LAYOUT = "LABEL_LAYOUT";
	public static final String SCROLL = "SCROLL";

	private String name;
	private String caption;
	private JComponent editor;

	public Field(String name, String caption, JComponent editor) {
		this.name = name;
		this.caption = caption;
		this.editor = editor;
	}

	public String getName() {
		return this.name;
	}

	public JComponent getEditor() {
		return this.editor;
	}

	public String getCaption() {
		return this.caption;
	}
}